package com.arron.state.study1;

public abstract class AccountState {
    public Account acc;
    //存款
    abstract void deposit(double amount);
    //取款
    abstract void withdraw(double amount);
    //计算利息
    abstract void computerInterest();
    //状态检查
    abstract void stateCheck();
}
